// import moment from 'moment';
import { ONLINESTATUS } from 'configs/constants';
import { formatValue } from 'utils/share';

export default [
  {
    title: '公司名称',
    dataIndex: 'name',
    render: (value) => formatValue(value)
  },
  {
    title: '状态',
    dataIndex: 'status',
    render: (value) => formatValue(ONLINESTATUS[value])
  },
  {
    title: '创建时间',
    dataIndex: 'createTime',
    render: (value) => formatValue(value)
  },
  {
    title: '更新时间',
    dataIndex: 'updateTime',
    render: (value) => formatValue(value)
  }
];
